package com.project.mall.mapper;

import com.project.mall.bean.generator.CskaoyanmallTopic;
import com.project.mall.bean.generator.CskaoyanmallTopicExample;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface CskaoyanmallTopicMapper {
    long countByExample(CskaoyanmallTopicExample example);

    int deleteByExample(CskaoyanmallTopicExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CskaoyanmallTopic record);

    int insertSelective(CskaoyanmallTopic record);

    List<CskaoyanmallTopic> selectByExample(CskaoyanmallTopicExample example);

    CskaoyanmallTopic selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") CskaoyanmallTopic record, @Param("example") CskaoyanmallTopicExample example);

    int updateByExample(@Param("record") CskaoyanmallTopic record, @Param("example") CskaoyanmallTopicExample example);

    int updateByPrimaryKeySelective(CskaoyanmallTopic record);

    int updateByPrimaryKey(CskaoyanmallTopic record);
}